package com.block.db.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2022-09-15
 */
@Getter
@Setter
@TableName("ml_special_costom_info")
public class SpecialCostomInfo implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

      private String infoType;

    private String name;

    private String descInfo;

    private BigDecimal remainAmount;

    private Integer deptId;
    private Integer ownerUserId;
    private String ownerUsername;

    private Integer riskFlag;
    private Integer status;
    private Integer delFlag;

    private String companyName;
    private String companyUser;
    private String companyPhone;

    private Integer pushNumber;

      @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;

    private String factoryType;

    private String apiMatchUrl;
    private String apiRegisterUrl;
    private String apiQueryUrl;

    private String apiCode;
    private String apiKey;
    private String apiSecret;
    private String pubKey;
    private String priKey;

}
